import { Component, Vue, Model, Prop } from "@some21/vue-class-decorator";

@Component({
  name: "SelectBase",
})
export default class SelectBase extends Vue {
  @Model("change")
  value: any | any[];
  @Prop({ type: Boolean, default: false })
  multiple: boolean;
  @Prop({ type: Array, default: [] })
  excludes: [];
  @Prop({ type: Boolean, default: false })
  disabled: boolean;
  @Prop({ type: Boolean, default: false })
  readonly: boolean;
  @Prop({ type: Boolean, default: false })
  isHideExclude: Boolean;
  @Prop({ type: Boolean, default: true })
  clearable: Boolean;
  @Prop({ type: String, default: "请选择" })
  placeholder: string;
}
